{% extends '../common/main.html' %}
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>投诉</title>
</head>
<body>
    {% block body %}
    <div id="background_1">
        <br><br><br>
        <div class="container" style="position: -webkit-sticky;position: sticky;top:15%;background: white;max-width: 85%;padding: 3%;border:2px solid black;border-radius: 15px;opacity: 0.9;">
            <form class="form-login" action="showcomplain" method="post" style="margin-bottom: 40px;">
<!--                <form action="return_result" method="post">-->
                <div class="input-group mb-3" >
                    <div class="input-group-prepend">
                        <span class="input-group-text" id="basic-addon1">投诉主题</span>
                    </div>
                    <input type="text" class="form-control" name="title" value={{ title }}>
                </div>

                <div class="input-group" style="height: 400px">
                    <div class="input-group-prepend">
                          <span class="input-group-text">投诉内容</span>
                    </div>
                    <textarea class="form-control" name="content">{{ content }}</textarea>
                </div>
                <br>

                <div class="input-group" style="height:20px">
                  <div class="input-group-prepend">
                    <span class="input-group-text">nlp<br>处理结果</span>
                  </div>
                  <textarea class="form-control" name="nlp_result">{{ nlp_result }}</textarea>
                </div>
                <br><br>

                <div>
                    <button type="submit" class="btn btn-primary float-right" style="margin: 10px">
                        <a href="./detail" style="color: white">提交</a>
                    </button>
                </div>
            </form>

        </div>
    </div>
    {% endblock %}
</body>
</html>